#ifndef _RECTANGLE_H_
#define _RECTANGLE_H_

#include <TypeLength.h>

class Rectangle
{
public:
	Rectangle(TypeLength &length,TypeLength &width);
	Rectangle(TypeLength &length);

	double getArea(void) const;
	double getPerimeter(void) const;

	void setLength(TypeLength &length);
	void setWidth(TypeLength &width);

private:
	bool isValidRectangle(void) const;

	TypeLength m_Length,m_Width;
};

#endif
